package com.cn.intelligence.service;

import com.cn.intelligence.pojo.EUDataGridResult;
import com.cn.intelligence.pojo.TaotaoResult;
import com.cn.intelligence.pojo.TbItem;

/**
 * Created by Administrator on 2017/4/17.
 */
public interface ItemService {
    TbItem getItemById(long itemId);
    public EUDataGridResult getItemList(int page,int rows,String selectPoint,String selectName,String selectpinpai);
    // 保存一个商品
    public TaotaoResult saveItem(TbItem item,String desc,String paramData) throws Exception;
	TaotaoResult deleteItem(Long itemId[]) throws Exception ;
	TaotaoResult editItem(TbItem item, String desc, String itemParams)  throws Exception ;
	TaotaoResult instockItem(Long[] ids)throws Exception ;
	TaotaoResult reshelfItem(Long[] ids)throws Exception ;
	TaotaoResult pushhomeItem(Long[] ids, String stortOrder)throws Exception;
	TbItem getItemPhotoXById(Long itemId);
	TaotaoResult popHomeItem(Long[] ids, String stortOrder)throws Exception;;

}
